package demo.entity;

import java.sql.Timestamp;


public class Pay {
	
	private int orderId;
	
	private Timestamp orderDate;
	
	private Timestamp payDate;
	
	private String operatorId;
	
	private String operatorName;
	
	private double shouldPay;
	
	private double actualPay;
	
	private double change;
	
	public Pay() {
		
	}
	
	public Pay(int orderId, Timestamp orderDate, Timestamp payDate, String operatorId, String operatorName,
			double shouldPay, double actualPay, double change) {
		this.orderId = orderId;
		this.orderDate = orderDate;
		this.payDate = payDate;
		this.operatorId = operatorId;
		this.operatorName = operatorName;
		this.shouldPay = shouldPay;
		this.actualPay = actualPay;
		this.change = change;
	}

	public int getOrderId() {
		return orderId;
	}

	public void setOrderId(int orderId) {
		this.orderId = orderId;
	}

	public Timestamp getOrderDate() {
		return orderDate;
	}

	public void setOrderDate(Timestamp orderDate) {
		this.orderDate = orderDate;
	}

	public Timestamp getPayDate() {
		return payDate;
	}

	public void setPayDate(Timestamp payDate) {
		this.payDate = payDate;
	}

	public String getOperatorId() {
		return operatorId;
	}

	public void setOperatorId(String operatorId) {
		this.operatorId = operatorId;
	}

	public String getOperatorName() {
		return operatorName;
	}

	public void setOperatorName(String oreratorName) {
		this.operatorName = oreratorName;
	}

	public double getShouldPay() {
		return shouldPay;
	}

	public void setShouldPay(double shouldPay) {
		this.shouldPay = shouldPay;
	}

	public double getActualPay() {
		return actualPay;
	}

	public void setActualPay(double actualPay) {
		this.actualPay = actualPay;
	}

	public double getChange() {
		return change;
	}

	public void setChange(double change) {
		this.change = change;
	}
	
	@Override
	public String toString() {
		return "Pay [orderId=" + orderId + ", orderDate=" + orderDate + ", payDate=" + payDate + ", operatorId="
				+ operatorId + ", oreratorName=" + operatorName + ", shouldPay=" + shouldPay + ", actualPay="
				+ actualPay + ", change=" + change + "]";
	}
}
